package com.jiazhong.basic.pack0524.onetomany.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Dept {

    private int deptNo;
    private String dname;
    private String loc;
    // 描述一对多情况，一个部门有多个员工信息
    private Set<Emp> emps;

}
